package net.randomice.emf.observables.demo.extlibrary.rcp.editors;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.forms.editor.FormEditor;

public class LibraryEditor extends FormEditor {

	@Override
	protected void addPages() {
		try {
			addPage(new OrdinaryDatabindingPage(this));
			addPage(new EMFObservablesDatabindingPage(this));
		} catch (PartInitException e) {
			e.printStackTrace();
		}
	}

	@Override
	public void doSave(IProgressMonitor arg0) {
		// TODO Auto-generated method stub

	}

	@Override
	public void doSaveAs() {
		// TODO Auto-generated method stub

	}

	@Override
	public boolean isSaveAsAllowed() {
		// TODO Auto-generated method stub
		return false;
	}
}
